package com.witdata.controller.ping;

import com.witdata.common.domain.Result;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
@Tag(name = "Ping接口")
public class PingController {

    @GetMapping("/ping")
    public Result<String> pingRabbitMQ() {
        return Result.ok("hello");
    }

}
